package com.baicaoyuan.web.common.exception;


/**
 * 功能描述：异常类
 *
 * @author 罗富祥
 *         创建时间： 2017/11/24
 *         版权：百草园电子商务
 */
public class StatusException extends Exception {
    public StateMessage stateMessage;

    public StatusException(StateMessage stateMessage) {
        super();
        this.stateMessage = stateMessage;
    }

    public StateMessage getStateMessage() {
        return stateMessage;
    }

    public void setStateMessage(StateMessage stateMessage) {
        this.stateMessage = stateMessage;
    }

}
